Skip to content
Snippets Groups Projects
Commit f0b0920c authored by Will Huang's avatar Will Huang Committed by Ben Wang
Browse files

qcacld-2.0: Avoid OOB read in dot11fUnpackAssocResponse

Avoid OOB read in dot11fUnpackAssocResponse API. Modify
the check to nBuf-len > 1 to read another byte of pBufRemaining.
This ensures a read of at least 2 bytes since all IEs have
at least 2 bytes.

Change-Id: Ic6756c11c05e68f0af5227971ce8b16a6c7e012a
CRs-Fixed: 3144382
parent 479b4fb8
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment